package com.bluedot.www.core.pojo.DO;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <p>
 * 客户分组，心理咨询师创建的分组信息，只有一级分组，如果分组内存在客户的话则不删除数据
 * </p>
 *
 * @author zhouxuan
 * @since 2021-08-07
 */
public class Group implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 分组主键
     */
    private Long id;

    /**
     * 分组名称，1~10个字符
     */
    private String groupName;

    /**
     * 心理咨询师id，此分组属于那个心理咨询师创建的
     */
    private Long userId;

    /**
     * 创建时间
     */
    private Timestamp gmtCreate;

    /**
     * 修改时间
     */
    private Timestamp gmtModified;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Timestamp getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Timestamp gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Timestamp getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Timestamp gmtModified) {
        this.gmtModified = gmtModified;
    }

    @Override
    public String toString() {
        return "Group{" +
                "id=" + id +
                ", groupName=" + groupName +
                ", userId=" + userId +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                "}";
    }
}
